/**
 * @(#)MiguProvinceConfigDaoImpl.java 2017年7月7日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;


import java.util.List;

import org.jsbd.boss.dao.IMiguProvinceConfigDao;
import org.jsbd.boss.domian.channel.MiguProvince;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * TODO 请加入本类的说明
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
@Service
public class MiguProvinceConfigDaoImpl extends CrackBaseDao implements IMiguProvinceConfigDao {
	public static final Logger LOGGER = LoggerFactory.getLogger(MiguProvinceConfigDaoImpl.class);

	/* (non-Javadoc)
	 * @see org.jsbd.boss.dao.IMiguProvinceConfigDao#selectMiguProvinceConfigList(org.jsbd.boss.domian.channel.MiguProvince)
	 */
	@Override
	public List<MiguProvince> selectMiguProvinceConfigList(MiguProvince miguProvince) {
		return super.queryForList("qy_migu_province_config.SELECT_MIGU_PROVINCE_CONFIG", miguProvince);
	}

	/* (non-Javadoc)
	 * @see org.jsbd.boss.dao.IMiguProvinceConfigDao#insertMiguProvinceConfig(org.jsbd.boss.domian.channel.MiguProvince)
	 */
	@Override
	public void insertMiguProvinceConfig(MiguProvince miguProvince) {
		super.insert("qy_migu_province_config.INSERT_MIGU_PROVINCE_CONFIG", miguProvince);
	}

	/* (non-Javadoc)
	 * @see org.jsbd.boss.dao.IMiguProvinceConfigDao#deleteMiguProvinceConfig(org.jsbd.boss.domian.channel.MiguProvince)
	 */
	@Override
	public int deleteMiguProvinceConfig(Integer provinceId) {
		return super.delete("qy_migu_province_config.DELETE_MIGU_PROVINCE_CONFIG", provinceId);
	}

	/* (non-Javadoc)
	 * @see org.jsbd.boss.dao.IMiguProvinceConfigDao#batchInsertMiguProvinceConfig(java.util.List)
	 */
	@Override
	public void batchInsertMiguProvinceConfig(List<MiguProvince> list) {
		super.batchInsert("qy_migu_province_config.INSERT_MIGU_PROVINCE_CONFIG", list);
	}
}
